package com.kazalan.content.document.bl;

import java.util.Map;

import com.kazalan.domain.document.Document;
import com.kazalan.domain.document.DocumentAggregate;
import com.kazalan.domain.document.Language;

public interface DocumentService {

	DocumentAggregate getDocumentAggregateById(String id);

	void addDocument(Document document);

	Document getDocumentById(String id);
	
	void saveDocument(Document document);
	
	Map<String, Language> getLanguages();
	
	Language getLanguageByCode(String code);

}
